package cn.tedu.spring.resource;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.applet.AppletContext;

public class TestweiboMapper {
    public static void main(String[] args) {

        ApplicationContext context = new AnnotationConfigApplicationContext
                ("cn/tedu/spring/resource");
        weiboMapper weiboMapper = context.getBean(weiboMapper.class);
        System.out.println(weiboMapper);
    }
}
